#!/bin/bash
#QQ:837367121
#邮箱:xujun1270@qq.com
cd /etc/yum.repos.d/
rpm -qa|grep wget &>/dev/null
if [ $? -ne 0 ];then
	yum install wget -y
fi
wget http:// https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce -y
systemctl start docker
systemctl enable docker